//
//  EaseMobManage.h
//  ArtCircle
//
//  Created by sunbin on 2017/5/21.
//  Copyright © 2017年 HuaYue. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface EaseMobManage : NSObject

single_interface(EaseMobManage);

// 配置 注册 登录 退出登录
- (void)optionsWithAppkey:(NSString *)AppKey apnsCertName:(NSString *)apnsCertName;

- (void)registerWithUsername:(NSString *)userName password:(NSString *)pwd success:(void (^)(NSString* successMsg))success failed:(void(^)(NSString *msg))failed;

- (void)loginWithUsername:(NSString *)userName password:(NSString *)pwd success:(void (^)(NSString* successMsg))success failed:(void(^)(NSString *msg))failed;

- (void)logout;

@end
